* {
    margin: 0;
    padding: 0;
}

/*返回按钮div*/
.return {
    width: 50px;
    height: 50px;
    line-height: 20px;
    float: left;
    border-radius: 50%;
    margin-left: 10px;
}

/*整个中间div*/
.container {
    height: 100%;
    margin-left: 0px;
    background-color: #ffffff;
    border: 1px solid #f3f6f6;
}

/*返回按钮*/
.layui-icon-return {
    padding-left: 17px;
    display: inline-block;
    padding-top: 14px;
    font-weight: bold;
    color: #55585c;
}

/*悬浮事件*/
.return:hover {
    background-color: #cfd9de;
}

/*上面div*/
.top {
    width: 598.4px;
    background-color: #ffffff;
    line-height: 40px;
    height: 50px;
}

/*姓名div*/
.name {
    color: #383c40;
    height: 20px;
    margin-left: 13px;
    font-size: 20px;
    font-weight: bold;
}

/*帖子数量*/
.postcount {
    color: #536471;
    height: 20px;
    margin-left: 13px;
    font-size: 13px;
}

.marname {
    float: left;
    height: 50px;
    width: 189px;
    margin-left: 13px;
}

.bottom {
    width: 598.4px;
    height: auto;
    background-color: #ffffff;
    margin-left: 5px;
}

.background {
    background-image: url('../img/彩云里Logo.jpg');
    /* 设置背景图片的路径 */
    background-size: cover;
    /* 图片自适应容器大小 */
    background-position: center;
    /* 图片居中 */
    width: 598.4px;
    height: 198.46px;
}

.userinfo {
    width: 598.4px;
    height: 100%;
    z-index: 10000;
}

.persondata {

    width: 598.4px;
    height: 52.19px;
    line-height: 52.19px;
    padding-left: 465px;
    font-weight: bold;

}

.layui-btn-radius:hover {

    background-color: #383c40;
    color: black;
}

.layui-btn-radius {
    border: 1px solid #383c40;
    color: black;
}

.personame {
    margin-top: 14px;

}

.personick {
    margin-left: 14px;
    font-size: 20px;
    font-weight: bold;

}

.personuser {
    margin-left: 14px;
    color: #536471;
}

.personbio {
    margin-left: 14px;
}

.createtime {
    width: 598.4px;
    height: 60px;
    margin-left: 14px;
    padding-top: 30px;
}

.beingattention {
    color: #536471;
}

.personattention {
    color: #536471;
}

.attention {
    width: 598.4px;
    height: 37px;
    margin-left: 14px;
}

.attention>a:hover {
    border-bottom: 1px solid #71767b;

}

.liebiao {
    width: 598.4px;
    height: 30px;
    line-height: 52px;
}

.message {
    list-style-type: none;
    margin: 0;
    border-bottom: 1px solid #cfd9de;
}

.choice {
    display: inline-block;
    border: 1px solid white;
    cursor: pointer;
    width: 96px;
    height: 52px;
    text-align: center;
    margin: 0;
    color: #536471;
    margin-bottom: -3px;
}

li.choice:hover {

    background-color: #cdcfd2;
}

.infoAvatar {
    position: absolute;
    left: -100px;
    top: 180px;
    border-radius: 50%;
    background-color: #cfd9de;
    width: 133.6px;
    height: 133.6px;
}



div.list-group {
    /*帖子块*/
    border: 1px solid rgb(196, 196, 196);
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 18px 18px 30px rgba(0, 0, 0, 0.2),
        -18px -18px 30px rgba(255, 255, 255, 1);
    transition: all .2s ease-out;
    margin: 30px 5px 10px 10px;
    max-width: 580px;
}

div.list-group:hover {
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2),
        0 0 0 rgba(255, 255, 255, 0.8),
        inset 18px 18px 30px rgba(0, 0, 0, 0.1),
        inset -18px -18px 30px rgba(255, 255, 255, 1);
}

.containers {
    max-width: 584px;

}

span.pid {
    /*帖子编号*/
    display: none;
}

.nickname {
    /*用户名*/
    margin-left: 6px;
    color: #0F1419;
    font-weight: bold;
}

.username {
    margin-left: 5px;
    color: #536471;
}

.video {
    /*视频*/

    max-width: 512.8px;
    max-height: 512.8px;
    width: 100%;
    flex: 1;
    object-fit: contain;
    order: 1;
    flex-shrink: 1;
    border-radius: 10px;
    margin-left: -45px;
}

.content {
    /*帖子内容*/
    padding: 0 auto;
    margin-top: 8px;
    margin-left: 62px;
}

.avatar {
    /*头像*/
    margin-top: 10px;
    margin-left: 12px;
    width: 40px;
    /* 设置头像的宽度 */
    height: 40px;
    /* 设置头像的高度 */
    border-radius: 50%;
    /* 设置头像为圆形 */
    position: relative;
}


.image {
    /*图片*/
    max-width: 512.8px;
    background-color: rgba(0, 0, 0, 0.00);
    border: 0 solid black;
    color: inherit;
    display: inline;
    font: inherit;
    list-style: none;
    padding: 0px;
    width: 100%;
    flex: 1;
    text-align: inherit;
    text-decoration: none;
    white-space: inherit;
    word-wrap: break-word;
    border-radius: 10px;
    order: 0;
    flex-shrink: 1;
    margin-left: -45px;
    display: inline-block;

}

div.imgvideo {
    /*包裹图片和视频的div*/
    max-width: 512.8px;
    margin-left: 107px;
    margin-top: 40px;


    align-items: center;
    justify-content: space-around;
}

/*包含评论的点赞的div*/
.info {
    margin-top: 20px;
}

/*评论的点赞两个图标*/
.info>.icon {
    font-size: 18.75px;
    margin-left: 30%;
}

/*点赞数和评论数*/
.infotext {
    font-size: 13px;
    display: block;
    display: inline-block;
}

.like {
    transition: opacity 0.3s;
    width: 10px;
}

.like:hover {
    font-size: 20.75px;
    opacity: 0.7;
}

.like-animation {
    animation: heart-pulse 1.0s ease-in-out;
}

@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

.commeavatar {
    margin-top: 10px;
    margin-left: 12px;
    width: 40px;
    /* 设置头像的宽度 */
    height: 40px;
    /* 设置头像的高度 */
    border-radius: 50%;
    /* 设置头像为圆形 */
}

.grid-demo {
    height: 500px;
}

.comment {
    /*帖子块*/
    border: 1px solid rgb(196, 196, 196);
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 18px 18px 30px rgba(0, 0, 0, 0.2),
        -18px -18px 30px rgba(255, 255, 255, 1);
    transition: all .2s ease-out;
    margin: 30px 5px 10px 0;
    max-width: 580px;
    margin-left: -110px;
}

.replycomment {
    position: relative;
}

.comment {
    position: relative;
}

.comment::before {
    content: '';
    position: absolute;
    top: 15px;
    bottom: 80px;
    left: 5.27%;
    /* Adjust this value based on your layout */
    width: 3px;
    /* Line width */
    background-color: #cfd9de;
    /* Line color */
    z-index: -1;
}


.avatar,
.reply-avatar {
    display: inline-block;
    margin-bottom: 10px;
}

.reply-avatar {
    margin-top: 10px;
    /* Adjust this value based on your layout */
}

div.list-group:hover {
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2),
        0 0 0 rgba(255, 255, 255, 0.8),
        inset 18px 18px 30px rgba(0, 0, 0, 0.1),
        inset -18px -18px 30px rgba(255, 255, 255, 1);
}
.comment:hover{
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2),
        0 0 0 rgba(255, 255, 255, 0.8),
        inset 18px 18px 30px rgba(0, 0, 0, 0.1),
        inset -18px -18px 30px rgba(255, 255, 255, 1);
}
.commentks:hover {
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2),
        0 0 0 rgba(255, 255, 255, 0.8),
        inset 18px 18px 30px rgba(0, 0, 0, 0.1),
        inset -18px -18px 30px rgba(255, 255, 255, 1);
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
}
.commentrep:hover{
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2),
        0 0 0 rgba(255, 255, 255, 0.8),
        inset 18px 18px 30px rgba(0, 0, 0, 0.1),
        inset -18px -18px 30px rgba(255, 255, 255, 1);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
}
.love{
        /*帖子块*/
        border: 1px solid rgb(196, 196, 196);
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        border-radius: 20px;
        box-shadow: 18px 18px 30px rgba(0, 0, 0, 0.2),
            -18px -18px 30px rgba(255, 255, 255, 1);
        transition: all .2s ease-out;
        margin: 30px 5px 10px 0;
        max-width: 580px;
        margin-left: -110px;
}
.love:hover{
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.2),
        0 0 0 rgba(255, 255, 255, 0.8),
        inset 18px 18px 30px rgba(0, 0, 0, 0.1),
        inset -18px -18px 30px rgba(255, 255, 255, 1);
}
.icon-gd{
    border: none;
    float: right;
}
